package com.lvmama.java.rhino.spark.entity;

/**
 * 搜索日志
 * Created by lvzimin on 16/1/11.
 */
public class SearchLog extends AccessLog {
	private static final long serialVersionUID = -7919270861902490928L;
	/**
     * 搜索关键字
     */
    public String keyword;

    public String toLogStr(String seperator) {
        StringBuilder builder = new StringBuilder();
        builder.append(super.toLogStr(seperator));
        builder.append(keyword).append(seperator);
        return builder.toString();
    }

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
}
